<script setup>
import {useRoute} from "vue-router";

const route = useRoute()
</script>

<template>
  <el-container>
    <el-aside width="100px">
      <el-menu
          :default-active="route.path"
          router
      >
        <el-menu-item index="/stock">
          <span>市场行情</span>
        </el-menu-item>
        <el-menu-item index="/stock/bk">
          <span>行业板块</span>
        </el-menu-item>
<!--        <el-menu-item index="/stock/filter">-->
<!--          <span>技术选股</span>-->
<!--        </el-menu-item>-->
<!--        <el-menu-item index="/stock/mark">-->
<!--          <span>选股标记</span>-->
<!--        </el-menu-item>-->
        <el-menu-item index="/stock/user">
          <span>我的关注</span>
        </el-menu-item>
        <el-menu-item index="/stock/train-record">
          <span>股票训练</span>
        </el-menu-item>
      </el-menu>
    </el-aside>
    <el-main style="padding: 0 0 0 10px;">
      <router-view/>
    </el-main>
  </el-container>
</template>

<style scoped lang="scss">

</style>